<div id="content">
				<div class="breadcrumb">
					<p><a href="<?php echo $this->Html->url(array('controller' => 'Nhucaubans', 'action'=>'index')); ?>">Nhu cầu bán</a> > <?php echo $Nhucauban['Career']['name']; ?></p>
				</div><!--end breadcrumb-->	
				
				<div class="gctt_sp">
					<div id="gctt_img">
							
						<?php
							if($Nhucauban["Nhucauban"]["filename"]){
								echo $this->Html->image("/uploads/publicprice/filename/thumb/default/".$Nhucauban["Nhucauban"]["filename"]);
							} else {
								echo $this->Html->image("/img/noimage.jpg");
								
							}
						?>
					
					</div>
						
					<h2><?php echo $Nhucauban['Nhucauban']['name']; ?></h2>
					
							<div>
								<div>Mã tin: <strong><?php echo "NCM900".$Nhucauban['Nhucauban']['id']; ?></strong> | Cập nhật bởi <strong><?php echo $Nhucauban['User']['username']; ?></strong> lúc <strong><?php echo date('h:m', strtotime($Nhucauban['Nhucauban']['create_date'])) ?></strong> Ngày <strong><?php echo date('d/m/Y', strtotime($Nhucauban['Nhucauban']['create_date'])) ?></strong> từ <strong><?php echo $Nhucauban['City']['name']; ?></strong></div>
								
							</div>
							
							<!--<div style="background-color:#bad3fc; margin-top:10px; float:left; width:420px">
								<div style="padding: 20px 0px 30px 15px">
									<div>Giá bán: <?php echo $Nhucauban['Nhucauban']['price']; ?> VNĐ / <?php echo $Nhucauban['Nhucauban']['unit']; ?></div>
									<div style="margin-top:5px">Số lượng bán: <?php echo $Nhucauban['Nhucauban']['quantity']; ?> <?php echo $Nhucauban['Nhucauban']['unit']; ?></div>
									<div style="margin-top:5px">Phí vận chuyển: <?php echo $Nhucauban['Nhucauban']['transfer_cost']; ?></div>
								</div>
							</div>-->
					
				</div><!--end gctt_sp-->	
				
				<div style="margin-bottom:20px; border: 1px solid #e7e7e7; margin-top:15px; overflow:hidden">
					<div style="padding: 7px 0px 14px 14px; width:318px; border-right:1px solid #e7e7e7; float:left">
						<h2 style="font-size:12px; color:#333; text-transform: uppercase">thông tin người bán</h2>
						
						<h3 style="font-size:14px; color:#076ab5; font-weight:bold; margin-top:17px"><?php echo $Nhucauban['Nhucauban']['sale_name']; ?></h3>
						
						<div style="margin-top:5px"><img  style="margin-right:5px" src="<?php echo $this->Html->url('/img/icon_dienthoai.jpg'); ?>" alt="" /><?php echo $Nhucauban['Nhucauban']['sale_phone']; ?></div>
						<div style="margin-top:5px"><img   style="margin-right:5px" src="<?php echo $this->Html->url('/img/letter.jpg'); ?>" alt="" /><?php echo $Nhucauban['Nhucauban']['sale_email']; ?></div>
					</div>
					<div style="padding: 7px 90px 14px 0px;">
						<h2 style="font-size:12px; color:#333; text-transform: uppercase; float: right">thông tin sản phẩm</h2>
						<div style="margin-top:5px; float:right; margin-right:13px">Xuất xứ: Trung Quốc</div>
					</div>
				</div>
				
				<div class="gctt" style="margin-bottom:20px; border: 1px solid #e7e7e7; margin-top:15px">
					<div class="gctt_data">
						<h2>Mô tả sản phẩm</h2>
						
						<?php echo $Nhucauban['Nhucauban']['discription']; ?>
						

					</div>
				</div><!--end gctt-->
			
<div class="group1">
				<?php echo $this->render('_filter_index_home', '');?>				
				
					
					
				<div class="table_list">

					<table id="ncdt" width="100%" cellspacing="0" cellpadding="0" border="0">
						<tr class="title">
							<td>Sản phẩm</td>
							<td>Đơn giá</td>
							<td>Đơn vị</td>
							<td>Địa điểm</td>
							<td>Ngành nghề</td>

							<td>Lượt xem</td>
							<td>Ngày đăng</td>
						</tr>
						<?php foreach($Nhucaubans as $k => $item) {
							$class = $k%2 == 0 ? "odd" : "even" ;
						?>
									<tr class="<?php echo $class; ?>">
										<td><?php echo $this->Html->link(__($item["Nhucauban"]["name"], true), array('action' => 'view', $item['Nhucauban']['id'])); ?></td>
										<td><?php echo $item["Nhucauban"]["price"] ?> VNĐ</td>
										<td><?php echo $item["Nhucauban"]["unit"] ?></td>
			
										<td><?php echo $item["City"]["name"] ?></td>
										<td><?php echo $item["Career"]["name"] ?></td>
										<td><?php echo $item["Nhucauban"]["hit"] ?></td>
										<td><?php echo $item["Nhucauban"]["create_date"] ?></td>
									</tr>
						<?php } ?>
						
					</table>

				</div><!--end table_list-->
				
				
				
				
					<div id="pagination">						
						<ul class="pager">

							<li><?php echo $this->Paginator->prev('<< ' . __('trang trước', true), array(), null, array('class'=>'disabled'));?></li>
							<li>
								<?php echo $this->Paginator->numbers();?>
							</li>							
							<li><?php echo $this->Paginator->next(__('trang sau', true) . ' >>', array(), null, array('class' => 'disabled'));?></li>
						</ul>
					</div><!--end pagination-->
			</div><!--end group-->